Skip to content

Conversation

@copybara-service
Copy link

Prevent pollution in packet socket tests

When a packet socket is opened with ETH_P_ALL, it will see all packets
in both directions sent on the interface. The existing code didn't
account for this, which could lead to test pollution in rare cases
because the ingress packet hadn't been received.

When a packet socket is opened with ETH_P_ALL, it will see all packets
in both directions sent on the interface. The existing code didn't
account for this, which could lead to test pollution in rare cases
because the ingress packet hadn't been received.

PiperOrigin-RevId: 837280365
@copybara-service copybara-service bot added the exported Issue was exported automatically label Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant